package org.mfw.obj.list
{
	import org.mfw.interfaces.obj.list.IBoxList;
	import org.mfw.interfaces.obj.mob.IBox;
	import org.mfw.obj.mob.Box;

	public class BoxList extends MediaListObject implements IBoxList
	{
		public function BoxList()
		{
			super();
		}
		
		public function getBoxByIndex(index:Number):IBox
		{
			return super.getElementByIndex(index) as IBox;
		}
		
		public function get firstBox():IBox 
		{
			return this.getBoxByIndex(0) as IBox;
		}
		
		
		public function get currentBox():IBox
		{
			return super.currentElement as IBox;
		}
	
		
		public function get nextBox():IBox
		{
			return super.nextElement as IBox;
		}
		
	
		public function get prevBox():IBox
		{
			return super.prevElement as IBox;
		}
		
	
		
		public function get lastBox():IBox
		{
			return super.lastElement as Box;
		}
	}
}